package com.mtw.bbs.common.core.security;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserDetails implements Serializable {


    //主键
    private String id;
    //账号
    private String username;
    //昵称
    private String displayName;
    //手机
    private String phone;
    //邮箱
    private String email;
    //授权方式
    private String grantType;
    //用户类型
    private Integer userType;
}
